package com.leyou.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.dto.UserDTO;
import com.leyou.user.entity.User;

/**
 * <h3>leyou-project</h3>
 * <p></p>
 *
 * @author : hhw
 * @date : 2020-06-05 12:31
 **/
public interface UserService extends IService<User>{
    void sendVerifyCode(String phone);

    Boolean judgeUser(String data, Integer type);

    void registeUser(User user, String code);

    UserDTO queryUserByNameAndPassword(String username, String password);
}
